package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 门店表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_shop")
@ApiModel(value = "XhShop对象", description = "门店表")
public class XhShop implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("合作商标识")
    private Integer merchantsId;

    @ApiModelProperty("门店编号")
    private String shopNo;

    @ApiModelProperty("名称")
    private String shopName;

    @ApiModelProperty("描述")
    private String shopDes;

    @ApiModelProperty("类型：1.门店2.换电站")
    private Integer shopType;

    @ApiModelProperty("门店级别1、市级，2、省级、3、全国")
    private Integer level;

    @ApiModelProperty("联系人")
    private String contactPerson;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("营业开始时间")
    private String businessStartTime;

    @ApiModelProperty("营业结束时间")
    private String businessEndTime;

    @ApiModelProperty("营业执照")
    private String license;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("经度")
    private BigDecimal lon;

    @ApiModelProperty("纬度")
    private BigDecimal lat;

    @ApiModelProperty("省id")
    private Integer provinceId;

    @ApiModelProperty("市id")
    private Integer cityId;

    @ApiModelProperty("区域ID")
    private Integer areaId;

    @ApiModelProperty("星恒区域")
    private Integer regionId;

    @ApiModelProperty("审核状态：0.未审核1.通过2.未通过 3.修改重审")
    private Integer checkStatus;

    @ApiModelProperty("审核说明")
    private String message;

    @ApiModelProperty("支持门店退租 0-不支持 1-支持")
    private Integer allowRentCancel;

    @ApiModelProperty("支持取电 0-不支持 1-支持")
    private Integer allowBorrowBattery;

    @ApiModelProperty("支持门店回收 0-不支持 1-支持")
    private Integer allowShopRepurchase;

    @ApiModelProperty("支持上门回收 0-不支持 1-支持")
    private Integer allowDoorRepurchase;

    @ApiModelProperty("缺电报警数")
    private Integer warningNum;

    @ApiModelProperty("是否允许直接取电：0.否(默认)1.是")
    private Integer allowTake;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("是否启用：0.否1.是(默认)")
    private Integer isEnabled;

    @ApiModelProperty("创建人ID")
    private Integer creatorId;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
